/* Header */
header {
    background-color: var(--main-green);
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
}

header h1 {
    font-family: 'Lora', serif;
    font-size: 48px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

header p {
    font-size: 16px;
    color: var(--cream)
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

/* Playlists Section */
.playlists-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 50px;
}

.playlist-showcase {
    background-color: var(--white);
    border: 3px solid var(--main-green);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Image Collage */
.playlist-collage {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 250px;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    overflow: visible;
    position: relative;
}

.collage-image {
    width: 180px;
    height: 220px;
    background-color: var(--cream);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.collage-image img {
    width: 100%;
    height: 100%;
    object-fit: fit;
    display: block;
}

/* Playlist Info */
.playlist-info {
    padding: 30px;
    position: relative;
    z-index: 2;
    background-color: var(--white);
}

.playlist-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--main-green);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.playlist-info p {
    font-size: 14px;
    color: var(--dark-green);
    margin-bottom: 20px;
    line-height: 1.6;
}

.view-playlist-btn {
    display: inline-block;
    background-color: var(--main-green);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.view-playlist-btn:hover {
    background-color: #1a4d44;
}

.go-to-top {
    display: block;
    text-align: center;
    color: var(--main-green);
    text-decoration: none;
    font-weight: 600;
    margin-top: 40px;
    font-size: 16px;
}

.go-to-top:hover {
    color: var(--dark-green);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .playlist-collage {
        height: 220px;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .playlists-section {
        padding: 0 30px;
    }
    
    .playlist-collage {
        height: 200px;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .playlist-info h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .playlist-collage {
        grid-template-columns: repeat(2, 1fr);
        height: 180px;
    }
}